import Vue from 'vue'
import App from './App'
import animated from 'animate.css'
import '../static/style/iconfont.css'

Vue.config.productionTip = false
Vue.use(animated)
App.mpType = 'app'
wx.cloud.init({
    env: 'blog-x7ss6'
})
const app = new Vue(App)
Vue.prototype.getViewportSize = function(){
    return {
      width: window.innerWidth || document.documentElement.clientWidth || document.body.clientWidth,
      height: window.innerHeight || document.documentElement.clientHeight || document.body.clientHeight
    };
};
app.$mount()
